var CryptoJS = require("crypto-js")
function SHA1(input){
    return CryptoJS.SHA1(input).toString()
}


result = function (e, t) {
    var n = (new Date).getTime() + 2592e6 + (t || 3e4)
        , r = (e || "") + "&t=" + n;
    return {
        t: n,
        s: SHA1(r)
    }
}

console.log(result('/WebApi/Users/Login?username=x852993811&password=123456DUE$DEHFYE(YRUEHD*&'))